<!--
 * @Descripttion:
 * @Version: 1.0
 * @Author: 何志龙
 * @Date: 2023-11-01 11:42:18
 * @LastEditors: wjh
 * @LastEditTime: 2024-02-04 11:52:31
-->
<!-- 浙政钉三方经办人V2 -->
<!-- 浙政钉乡镇人民政府终审V2 -->
<template>
  <div class="ThreeJingBanRen">
    <div class="CUNYUSHEN">
      <inputSelect :isShowCity="false" :contentData.sync="contentData" :JFData.sync="SQHZDataPZ" :title="'申请户主信息'"
        @getValues="getValues" />
      <inputContatiner :data11.sync="content" :SaveDataGuid="'9403bdd5-de35-47b2-bfa0-961bf86b6a53'"
        :mainrowGuid="rowData.ROW_GUID" :thList="thList" :OPTYPE="'3'" :Isshowbutton="Isshowbutton1"
        :ROW_GUID="'471f9e70-b4ba-4bc3-9158-43a36800bf19'" />
      <!-- //button 展示宅基地处数 -->
      <div v-if="DUIBI.length > 0"
        style="display: flex; justify-content: space-around; align-items: center; height: 45px">
        <div v-for="(item, index) in DUIBI" :key="index">
          <van-button type="info" size="small" @click="clickButton(item)">{{ item }}</van-button>
        </div>
      </div>
      <inputSelect :isShowCity="false" :contentData.sync="xianZhaijiDi" :JFData.sync="SQHZDataPZ" :title="'现宅基地及农房情况'"
        @getButtons="getButton" @getValues="getValues" />
      <inputSelect :isShowCity="false" :contentData.sync="npzData" :JFData.sync="SQHZDataPZ" :title="'拟批准宅基地及建房情况'"
        @getValues="getValues" />
      <inputSelect :isShowCity="false" :contentData.sync="zfjzmjData" :JFData.sync="SQHZDataPZ" :title="'住房建筑面积'"
        @getValues="getValues" />
      <inputSelect :isShowCity="false" :contentData.sync="jzcsData" :JFData.sync="SQHZDataPZ" :title="'建筑层数'"
        @getValues="getValues" />
      <inputSelect :isShowCity="false" :contentData.sync="jzgdData" :JFData.sync="SQHZDataPZ" :title="'建筑高度'"
        @getValues="getValues" />
      <inputSelect :isShowCity="false" :contentData.sync="sizhiData" :JFData.sync="SQHZDataPZ" :title="'四至'"
        @getValues="getValues" />
      <inputSelect :isShowCity="false" :contentData.sync="dileiData" :JFData.sync="SQHZDataPZ" :title="'地类'"
        @getValues="getValues" />
      <inputSelect :isShowCity="false" :contentData.sync="nwssData" :JFData.sync="SQHZDataPZ" :title="'农污设施'"
        @getValues="getValues" @getButton1="getButton" />
      <inputSelect :isShowCity="false" :contentData.sync="bzData" :JFData.sync="SQHZDataPZ" :title="'备注'"
        @getValues="getValues" />
      <inputSelect :isShowCity="false" :contentData.sync="TJJBXXData" :JFData.sync="TJJFData" :title="'图集基本信息'"
        @getValues="getValues" @getButton1="getButtons" />
      <p class="subTitle"><span class="line"></span> <span style="color: #3f8ffc">红线图</span></p>
      <p style="color: red">备注: 建议上传的宅基地坐落平面位置图为A4格式，最大宽度为210毫米(2480px) ，最大高度为297毫米 (3508px)。</p>
      <van-uploader @click-preview="lookFile" :after-read="afterRead" :before-delete="delectFile" v-model="PictureUrlList"
        multiple :max-count="1"> </van-uploader>
      <inputSelect :isShowCity="false" :contentData.sync="ZTTIMEData" :JFData.sync="SQHZDataPZ" :IStitle="false"
        :title="'备注'" @getValues="getValues" />
      <van-collapse v-model="activeNames1">
        <p class="subTitle"><span class="line"></span> <span style="color: #3f8ffc">附件</span></p>
        <van-collapse-item :title="'附件'" name="1">
          <upLoad :rowData="rowData" :FJData="FJData1" :isReadOnly="false" :SHITUID="'98bcf528966e48ce896a8b3fd02d45d5'"
            :UpLoadID="'7a3fc061c866434b8475d3775c9ddcea'" />
        </van-collapse-item>
      </van-collapse>
      <p class="subTitle"><span class="line"></span> <span style="color: #3f8ffc">需要补正的材料</span></p>
      <upLoad :rowData="rowData" :FJData="BZCLData" :isReadOnly="false" :SHITUID="'98bcf528966e48ce896a8b3fd02d45d5'"
        :UpLoadID="'7a3fc061c866434b8475d3775c9ddcea'" />
      <!--三元合一都显示，否则根据环节只显示自己的-->
      {{ Issyhi }}
      <div v-if="!Issyhi || rowData.NODE_GUID == '{9766D96E-8B85-481F-B514-C0B21CF4DC3A}'">
        <div>
          <inputSelect :isShowCity="false" :contentData.sync="zgyj" :JFData.sync="SQHZDataPZ" :title="'资格审核(经办人)'"
            @getValues="getValues" />
          <p style="margin-top: 4px; font-size: 14px; font-weight: bold"><span style="color: #ff0000">*</span>资格审核结论(经办人)
          </p>
          <van-field v-model="SQHZDataPZ[0].ZJZGSHJBRJL" type="textarea" label :border="false" disable-default-padding
            style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
          <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
            <span>{{ SQHZDataPZ[0].ZJZGSHJBRQM }}：</span> <span>{{ SQHZDataPZ[0].ZJZGSHJBRSJ }}</span>
          </p>
          <inputSelect :isShowCity="false" :contentData.sync="zgyjfzr" :JFData.sync="SQHZDataPZ" :title="'资格审核(负责人)'"
            @getValues="getValues" />
          <p style="margin-top: 4px; font-size: 14px; font-weight: bold"><span style="color: #ff0000">*</span>资格审核结论(负责人)
          </p>
          <van-field v-model="SQHZDataPZ[0].ZJZGSHFZRJL" type="textarea" label :border="false" disable-default-padding
            style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
          <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
            <span>{{ SQHZDataPZ[0].ZJZGSHFZRQM }}：</span> <span>{{ SQHZDataPZ[0].ZJZGSHFZRSJ }}</span>
          </p>
        </div>
        <div>
          <inputSelect :isShowCity="false" :contentData.sync="ghshjbr" :JFData.sync="SQHZDataPZ" :title="'规划审核(经办人)'"
            @getValues="getValues" />
          <p style="margin-top: 4px; font-size: 14px; font-weight: bold"><span style="color: #ff0000">*</span>规划审核结论(经办人)
          </p>
          <van-field v-model="SQHZDataPZ[0].ZJGHSHJBRJL" type="textarea" label :border="false" disable-default-padding
            style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
          <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
            <span>{{ SQHZDataPZ[0].ZJGHSHJBRQM }}：</span> <span>{{ SQHZDataPZ[0].ZJGHSHJBRSJ }}</span>
          </p>
          <inputSelect :isShowCity="false" :contentData.sync="ghshfzr" :JFData.sync="SQHZDataPZ" :title="'规划审核(负责人)'"
            @getValues="getValues" />
          <p style="margin-top: 4px; font-size: 14px; font-weight: bold"><span style="color: #ff0000">*</span>规划审核结论(负责人)
          </p>
          <van-field v-model="SQHZDataPZ[0].ZJGHSHFZRJL" type="textarea" label :border="false" disable-default-padding
            style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
          <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
            <span>{{ SQHZDataPZ[0].ZJGHSHFZRQM }}：</span> <span>{{ SQHZDataPZ[0].ZJGHSHFZRSJ }}</span>
          </p>
        </div>
        <div>
          <inputSelect :isShowCity="false" :contentData.sync="nfshjbr" :JFData.sync="SQHZDataPZ" :title="'农房审核(经办人)'"
            @getValues="getValues" />
          <p style="margin-top: 4px; font-size: 14px; font-weight: bold"><span style="color: #ff0000">*</span>农房审核结论(经办人)
          </p>
          <van-field v-model="SQHZDataPZ[0].ZJNFSHJBRJL" type="textarea" label :border="false" disable-default-padding
            style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
          <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
            <span>{{ SQHZDataPZ[0].ZJNFSHJBRQM }}：</span> <span>{{ SQHZDataPZ[0].ZJNFSHJBRSJ }}</span>
          </p>
          <inputSelect :isShowCity="false" :contentData.sync="nfshfzr" :JFData.sync="SQHZDataPZ" :title="'农房审核(负责人)'"
            @getValues="getValues" />
          <p style="margin-top: 4px; font-size: 14px; font-weight: bold"><span style="color: #ff0000">*</span>农房审核结论(负责人)
          </p>
          <van-field v-model="SQHZDataPZ[0].ZJNFSHFZRJL" type="textarea" label :border="false" disable-default-padding
            style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
          <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
            <span>{{ SQHZDataPZ[0].ZJNFSHFZRQM }}：</span> <span>{{ SQHZDataPZ[0].ZJNFSHFZRSJ }}</span>
          </p>
        </div>
      </div>
      <!--资格审核-->
      <div v-else-if="rowData.NODE_GUID == '{417EFF61-5FA8-44D6-A624-5B3D0F39B56C}' ||
        rowData.NODE_GUID == '{299D1B2C-4EDA-4963-AC66-E91B3403A49E}' ||
        rowData.NODE_GUID == '{9766D96E-8B85-481F-B514-C0B21CF4DC3A}'
        ">
        <inputSelect :isShowCity="false" :contentData.sync="zgyj" :JFData.sync="SQHZDataPZ" :title="'资格审核(经办人)'"
          @getValues="getValues" />
        <p style="margin-top: 4px; font-size: 14px; font-weight: bold"><span style="color: #ff0000">*</span>资格审核结论(经办人)
        </p>
        <van-field v-model="SQHZDataPZ[0].ZJZGSHJBRJL" type="textarea" label :border="false" disable-default-padding
          style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
        <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
          <span>{{ SQHZDataPZ[0].ZJZGSHJBRQM }}：</span> <span>{{ SQHZDataPZ[0].ZJZGSHJBRSJ }}</span>
        </p>
        <inputSelect :isShowCity="false" :contentData.sync="zgyjfzr" :JFData.sync="SQHZDataPZ" :title="'资格审核(负责人)'"
          @getValues="getValues" />
        <p style="margin-top: 4px; font-size: 14px; font-weight: bold"><span style="color: #ff0000">*</span>资格审核结论(负责人)
        </p>
        <van-field v-model="SQHZDataPZ[0].ZJZGSHFZRJL" type="textarea" label :border="false" disable-default-padding
          style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
        <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
          <span>{{ SQHZDataPZ[0].ZJZGSHFZRQM }}：</span> <span>{{ SQHZDataPZ[0].ZJZGSHFZRSJ }}</span>
        </p>
      </div>
      <!--规划审核-->
      <div v-else-if="rowData.NODE_GUID == '{0439EC7A-785D-4B5B-ADD4-11E2D320376E}' ||
        rowData.NODE_GUID == '{97E3145A-01B9-4CEE-AA4E-21CA9F0FF671}' ||
        rowData.NODE_GUID == '{9766D96E-8B85-481F-B514-C0B21CF4DC3A}'
        ">
        <inputSelect :isShowCity="false" :contentData.sync="ghshjbr" :JFData.sync="SQHZDataPZ" :title="'规划审核(经办人)'"
          @getValues="getValues" />
        <p style="margin-top: 4px; font-size: 14px; font-weight: bold"><span style="color: #ff0000">*</span>规划审核结论(经办人)
        </p>
        <van-field v-model="SQHZDataPZ[0].ZJGHSHJBRJL" type="textarea" label :border="false" disable-default-padding
          style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
        <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
          <span>{{ SQHZDataPZ[0].ZJGHSHJBRQM }}：</span> <span>{{ SQHZDataPZ[0].ZJGHSHJBRSJ }}</span>
        </p>
        <inputSelect :isShowCity="false" :contentData.sync="ghshfzr" :JFData.sync="SQHZDataPZ" :title="'规划审核(负责人)'"
          @getValues="getValues" />
        <p style="margin-top: 4px; font-size: 14px; font-weight: bold"><span style="color: #ff0000">*</span>规划审核结论(负责人)
        </p>
        <van-field v-model="SQHZDataPZ[0].ZJGHSHFZRJL" type="textarea" label :border="false" disable-default-padding
          style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
        <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
          <span>{{ SQHZDataPZ[0].ZJGHSHFZRQM }}：</span> <span>{{ SQHZDataPZ[0].ZJGHSHFZRSJ }}</span>
        </p>
      </div>
      <!--农房审核-->
      <div v-else-if="rowData.NODE_GUID == '{5821E9EB-44B5-49AC-A659-6DF98B410B38}' ||
        rowData.NODE_GUID == '{777D7530-351F-4BAA-8A28-9153C53A4BBE}' ||
        rowData.NODE_GUID == '{9766D96E-8B85-481F-B514-C0B21CF4DC3A}'
        ">
        <inputSelect :isShowCity="false" :contentData.sync="nfshjbr" :JFData.sync="SQHZDataPZ" :title="'农房审核(经办人)'"
          @getValues="getValues" />
        <p style="margin-top: 4px; font-size: 14px; font-weight: bold"><span style="color: #ff0000">*</span>农房审核结论(经办人)
        </p>
        <van-field v-model="SQHZDataPZ[0].ZJNFSHJBRJL" type="textarea" label :border="false" disable-default-padding
          style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
        <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
          <span>{{ SQHZDataPZ[0].ZJNFSHJBRQM }}：</span> <span>{{ SQHZDataPZ[0].ZJNFSHJBRSJ }}</span>
        </p>
        <inputSelect :isShowCity="false" :contentData.sync="nfshfzr" :JFData.sync="SQHZDataPZ" :title="'农房审核(负责人)'"
          @getValues="getValues" />
        <p style="margin-top: 4px; font-size: 14px; font-weight: bold"><span style="color: #ff0000">*</span>农房审核结论(负责人)
        </p>
        <van-field v-model="SQHZDataPZ[0].ZJNFSHFZRJL" type="textarea" label :border="false" disable-default-padding
          style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
        <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
          <span>{{ SQHZDataPZ[0].ZJNFSHFZRQM }}：</span> <span>{{ SQHZDataPZ[0].ZJNFSHFZRSJ }}</span>
        </p>
      </div>
      <div v-if="rowData.NODE_GUID == '{9766D96E-8B85-481F-B514-C0B21CF4DC3A}'">
        <p class="subTitle"><span class="line"></span> <span style="color: #3f8ffc">乡镇政府审核结论</span></p>
        <p style="margin-top: 4px; font-size: 16px"><span style="color: #ff0000">*</span>乡镇人民政府审核意见</p>
        <van-field v-model="SQHZDataPZ[0].XZRMZFSHYJ" type="textarea" label :border="false" disable-default-padding
          style="background-color: #e4e4e4; margin-top: 8px; min-height: 140px" />
        <p style="text-align: right; line-height: 20px; font-size: 16px; color: black">
          <span>{{ SQHZDataPZ[0].XZRMZFSHQM }}：</span> <span>{{ SQHZDataPZ[0].XZRMZFSHSJ }}</span>
        </p>
      </div>
    </div>
    <div class="footer">
      <van-button style="width: 30vw" size="small" type="info" @click="saveData()">保存</van-button>
      <van-button style="width: 30vw" size="small" type="info" @click="saveData('submit')">提交</van-button>
      <!-- <van-button style="width: 30vw" size="small" type="info">退回</van-button> -->
    </div>
    <div v-if="show11">
      <van-action-sheet v-model="show11" :title="show11Title" style="height: 70%">
        <div class="content">
          <inputSelect :isShowCity="false" :contentData.sync="show11Data1" :JFData.sync="show11Data" :title="''"
            @getValues="getValues" />
          <div style="display: flex; justify-content: center; align-items: center">
            <van-button style="width: 80vw; margin: 20px 0" type="info" @click="saveDataTable">保存</van-button>
          </div>
        </div>
      </van-action-sheet>
    </div>
    <van-action-sheet v-model="showTable" title="关联危改业务">
      <div class="content">
        <el-table size="small" :data="WGData" border style="width: 100%" @selection-change="handleSelectionChangewg">
          <el-table-column type="selection" width="30"> </el-table-column>
          <el-table-column v-for="(it, in1) in contentDataTbale" :key="in1" :prop="it.key" :label="it.label"
            align="center">
            <!-- <template slot-scope="scope"> -->
            <!-- 处理枚举数据 -->
            <!-- <span v-if="it.key === 'RERECONNAISSANCE'">{{ scope.row.RERECONNAISSANCE == '5' ? '是' : '否' }}</span>
              <span v-else>{{ scope.row[it.key] }}</span> -->
            <!-- </template> -->
          </el-table-column>
        </el-table>
        <div style="display: flex; justify-content: center; align-items: center">
          <van-button style="width: 80vw; margin: 20px 0" @click="saveConfirmWGinfo()" type="info">确定</van-button>
        </div>
      </div>
    </van-action-sheet>
    <!--发送-->
    <sendTree :rowData="rowData" :isshow.sync="showsendPage" :handleSelectClose="handleSelectClose" />
    <!--农污设施-->
    <tableBox :rowData="rowData" :title="'用户处理设备查询'" :dataguid="dataguid" :eltableData="eltableData"
      :tableData="tableData" :show.sync="ishwows" @hadleSelect="hadleSelect" :handleSelectClose="handleSelectClose1ss">
    </tableBox>
    <!-- <sendTree v-if="showsendPage"  :rowData="rowData"  :IsequitPerson="IsequitPerson"  ref="sendTree"></sendTree> -->
  </div>
</template>

<script>
//大数据回显
import bigData from '../public/bigData'
//家庭成员信息可添加修改
import inputContatiner from '../public/inputContatiner'
//下拉框、输入框、日期、单选框、多选框
import inputSelect from '../public/inputSelect'
//eca的文件上传组件 可上传 删除 预览pdf
import upLoad from '@/utils/upLoad'
import { GSA_Add, GSA_Search } from '@/common/commonApi'
import { FileServerProxy, dataTransFile, dataTransFilePreview, getApplyPersonInfoByIdCard, getxjnfGethy } from '@/utils/api'
import timeFormat from '@/utils/timeFormat.js'
import { v4 as uuidv4 } from 'uuid'
import sendTree from '../public/sendTree.vue'
import tableBox from '../public/tableBox'
export default {
  data() {
    return {
      ishwows: false,
      dataguid: "",
      eltableData: [],
      IsequitPerson: '',
      showsendPage: false,
      isaddOrEditData: '',
      showPicker: false,
      Issyhi: false,
      zgshList: [
        {
          name: '拟同意',
          value: ''
        }
      ],
      tableData: [
        {
          key: 'citycode',
          label: '行政村区划码'
        },
        {
          key: 'liabilityUserName',
          label: '责任户主'
        },
        {
          key: 'encoding',
          label: '门牌号'
        },
        {
          key: 'GUID',
          label: '编码'
        }
      ],
      WGData: [],
      handleSelectionChange111: [],
      selectwginfo: [],
      ZJDZLPMWZT: [
        {
          title: '红线图',
          FileName: [],
          groupGuid: 'c34eb13b-b0e0-4c40-9be8-d69d39360d73',
          fileList: []
        }
      ],
      WGData: [],
      showTable: false,
      show11Data1: [
        {
          label: '宅基地处数',
          key: 'ZJDCS',
          ISinput: false,
          required: true,
          readonly: false,
          isTime: false,
          emitData: '',
          NYDARR: [
            {
              DICID: '第一处',
              DICNAME: '第一处'
            },
            {
              DICID: '第二处',
              DICNAME: '第二处'
            },
            {
              DICID: '第三处',
              DICNAME: '第三处'
            },
            {
              DICID: '第四处',
              DICNAME: '第四处'
            },
            {
              DICID: '第五处',
              DICNAME: '第五处'
            }
          ]
        },
        {
          label: '是否属于无房户',
          key: 'SFSYWFH',
          buttonTest: '关联',
          ISinput: false,
          required: true,
          readonly: true,
          isTime: false,
          emitData: '86d6eb80-8bcb-49f6-b5c3-462ac1ae585d',
          NYDARR: []
        },
        {
          label: '是否危房改造拆除重建',
          key: 'SFWFGZCCCJ',
          buttonTest: '关联',
          ISinput: false,
          required: true,
          readonly: true,
          isTime: false,
          emitData: '86d6eb80-8bcb-49f6-b5c3-462ac1ae585d',
          NYDARR: []
        },
        {
          label: '原宅基地面积',
          key: 'YZJDMJ', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '原建筑面积',
          key: 'YZJMJ', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '现宅基地处置情况',
          key: 'XZJDCZQK',
          ISinput: false,
          required: true,
          readonly: true,
          isTime: false,
          emitData: '2c478392-9c1b-40da-b941-41e4b8c9d6d3',
          NYDARR: []
        },
        {
          label: '权属证书号',
          key: 'QSZSH', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '',
          key: 'XCSJ1', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: false, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '房屋处置情况',
          key: 'FWCZQK',
          ISinput: false,
          required: true,
          readonly: true,
          isTime: false,
          emitData: 'e69b7481-1f5e-4e81-a20c-87eb21c0dbf2',
          NYDARR: []
        }
      ],
      show11Data: [],
      show11: false,
      show11Title: '',
      contentDataTbale: [
        {
          label: '自建房编号',
          key: 'checkNumber'
        },
        {
          label: '户主姓名',
          key: 'propertyPerson'
        },
        {
          label: '身份证号',
          key: 'householderIdcard'
        },
        {
          label: '联系电话',
          key: 'householderPhone'
        },
        {
          label: '所属市',
          key: 'belongCity'
        },
        {
          label: '所属区县',
          key: 'belongCountry'
        },
        {
          label: '所属乡镇',
          key: 'belongTown'
        },
        {
          label: '所属村',
          key: 'belongVillage'
        },
        {
          label: '房屋地址',
          key: 'detailAddress'
        },
        {
          label: '是否是无房户',
          key: 'isHasHouse'
        },
        {
          label: '治理方式',
          key: 'reportType'
        },
        {
          label: '解决方式',
          key: 'appraiseType'
        }
      ],
      PictureUrlList: [],
      thList: [
        {
          title: '姓名',
          isSort: false, // 是否进行排序, // 是否单独显示背景颜色
          sortField: 'FAMILYNAME', // 排序字段
          backgroundColor: 'rgb(242, 245, 247)',
          width: '10'
        },
        {
          title: '与户主关系',
          isSort: false,
          sortField: 'HOUSERELATIONSHIP',
          backgroundColor: 'rgb(242, 245, 247)',
          width: '20'
        },
        {
          title: '身份证',
          isSort: false,
          sortField: 'FAMILYIDCARD',
          backgroundColor: 'rgb(242, 245, 247)',
          width: '20'
        },
        {
          title: '性别',
          isSort: false,
          sortField: 'FAMILYSEX',
          backgroundColor: 'rgb(242, 245, 247)',
          width: '10'
        },
        {
          title: '年龄',
          isSort: false,
          sortField: 'FAMILYAGE',
          backgroundColor: 'rgb(242, 245, 247)',
          width: '10'
        },
        {
          title: '户口所在地',
          isSort: false,
          sortField: 'HZSZD',
          backgroundColor: 'rgb(242, 245, 247)',
          width: '10'
        },
        {
          title: '是否村集体股东',
          isSort: false,
          sortField: 'IF_CJTGD',
          backgroundColor: 'rgb(242, 245, 247)',
          width: '10'
        },
        {
          title: '婚姻状况',
          isSort: false,
          sortField: 'HYZK',
          backgroundColor: 'rgb(242, 245, 247)',
          width: '10'
        },
        {
          title: '是否有不动产',
          isSort: false,
          sortField: 'IF_BDC',
          backgroundColor: 'rgb(242, 245, 247)',
          width: '10'
        },

        {
          title: '不动产编号',
          isSort: false,
          sortField: 'BDCBH',
          backgroundColor: 'rgb(242, 245, 247)',
          width: '10'
        },
        {
          title: '是否机关事业单位',
          isSort: false,
          sortField: 'IF_JGSYDW',
          backgroundColor: 'rgb(242, 245, 247)',
          width: '10'
        },
        {
          title: '火化时间',
          isSort: false,
          sortField: 'CREMATIONTIME',
          backgroundColor: 'rgb(242, 245, 247)',
          width: '10'
        },
        {
          title: '死亡时间',
          isSort: false,
          sortField: 'DEATHTIME',
          backgroundColor: 'rgb(242, 245, 247)',
          width: '10'
        }
      ],
      activeNames1: ['2'],
      active: 1,
      content: [],
      Isshowbutton1: true,
      isShowCity: true,
      sizhiData: [
        {
          label: '东至',
          key: 'DZ', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '南至',
          key: 'NZ', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '西至',
          key: 'XZ', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '北至',
          key: 'BZ', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        }
      ],
      ZTTIMEData: [
        {
          label: '制图人',
          key: 'ztr', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '制图时间',
          key: 'ztsj', //绑定的字段
          ISinput: false, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: true //true:可以时间选择器 false：下拉框
        }
      ],
      dileiData: [
        {
          label: '地类',
          key: 'DL',
          ISinput: false,
          required: true,
          readonly: true,
          isTime: false,
          emitData: 'd2ec96d4-b5bc-404a-a9f1-34db915c694b',
          NYDARR: []
        },
        {
          label: '',
          key: 'DL_NYD',
          ISinput: false,
          required: false,
          readonly: true,
          isTime: false,
          emitData: '52215e71-341a-452b-8823-a8d4aae058ab',
          NYDARR: []
        },
        {
          label: '',
          key: 'DL_NYD_QT', //绑定的字段
          ISinput: true, //true:输入框
          required: false, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '日照间距',
          key: 'rzjj', //绑定的字段
          ISinput: true, //true:输入框
          required: false, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '涉及相邻关系的,是否已征得相邻权利人同意',
          key: 'IF_XLRTY',
          ISinput: false,
          required: true,
          readonly: true,
          isTime: false,
          emitData: '86d6eb80-8bcb-49f6-b5c3-462ac1ae585d',
          NYDARR: []
        },
        {
          label: '外墙色彩',
          key: 'WQSC', //绑定的字段
          ISinput: true, //true:输入框
          required: false, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        }
      ],
      zgyj: [
        {
          label: '资格审核(经办人)',
          key: 'ZJZGSHJBR',
          ISinput: false,
          required: false,
          readonly: true,
          isTime: false,
          emitData: '2c83190c-56d9-4994-a4a9-df4099bad8f9',
          NYDARR: []
        }
      ],
      zgyjfzr: [
        {
          label: '资格审核(负责人)',
          key: 'ZJZGSHFZR',
          ISinput: false,
          required: false,
          readonly: true,
          isTime: false,
          emitData: '2348fc00-7117-4c40-a80a-0f6254d4fad9',
          NYDARR: []
        }
      ],
      ghshjbr: [
        {
          label: '规划审核(经办人)',
          key: 'ZJGHSHJBR',
          ISinput: false,
          required: false,
          readonly: true,
          isTime: false,
          emitData: '2c83190c-56d9-4994-a4a9-df4099bad8f9',
          NYDARR: []
        }
      ],
      ghshfzr: [
        {
          label: '规划审核(负责人)',
          key: 'ZJGHSHFZR',
          ISinput: false,
          required: false,
          readonly: true,
          isTime: false,
          emitData: '2348fc00-7117-4c40-a80a-0f6254d4fad9',
          NYDARR: []
        }
      ],
      nfshjbr: [
        {
          label: '农房审核(经办人)',
          key: 'ZJNFSHJBR',
          ISinput: false,
          required: false,
          readonly: true,
          isTime: false,
          emitData: '2c83190c-56d9-4994-a4a9-df4099bad8f9',
          NYDARR: []
        }
      ],
      nfshfzr: [
        {
          label: '农房审核(负责人)',
          key: 'ZJNFSHFZR',
          ISinput: false,
          required: false,
          readonly: true,
          isTime: false,
          emitData: '2348fc00-7117-4c40-a80a-0f6254d4fad9',
          NYDARR: []
        }
      ],
      nwssData: [
        {
          label: '农污设施建设情况',
          key: 'NWSS',
          ISinput: false,
          required: false,
          readonly: true,
          isTime: false,
          emitData: 'd0ad1260-14c9-4b2e-ac11-9ee6ec9c95f4',
          NYDARR: []
        },
        {
          label: '',
          key: 'SSMC', //绑定的字段
          ISinput: true, //true:输入框
          required: false, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          buttonTest: '选择',
          isTime: false, //true:可以时间选择器 false：下拉框
        },
        {
          label: '',
          key: 'SSBH', //绑定的字段
          ISinput: true, //true:输入框
          required: false, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        }
      ],
      bzData: [
        {
          label: '备注',
          key: 'beizhu', //绑定的字段
          ISinput: true, //true:输入框
          required: false, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        }
      ],
      TJJBXXData: [
        {
          label: '图集类型',
          key: 'TJLX',
          ISinput: false,
          required: false,
          readonly: false,
          isTime: false,
          emitData: '9b93f111-a6a3-4eac-a86f-f4b7e1ff4b30',
          NYDARR: []
        },
        {
          label: '图集编号',
          key: 'TJBH', //绑定的字段
          ISinput: true, //true:输入框
          required: false, //true: 必填项
          readonly: false, //true:可以填写 false：不可以填写
          isTime: false, //true:可以时间选择器 false：下拉框
          buttonTest: '查看'
        },
        {
          label: '图集名称',
          key: 'TJMC', //绑定的字段
          ISinput: true, //true:输入框
          required: false, //true: 必填项
          readonly: false, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        }
      ],
      BZCLData: [
        {
          title: '补正材料',
          FileName: [],
          groupGuid: 'c2ca8946-2f67-4eb5-88dd-5c02c3daa666',
          fileList: []
        }
      ],
      FJData1: [
        {
          title: '红线图',
          FileName: [],
          groupGuid: '25413802-a7eb-4212-a495-f8e6b84cefbc',
          fileList: []
        },
        {
          title: '规划图',
          FileName: [],
          groupGuid: 'f980f20f-718e-48ba-bf8f-7b9c1c51435b',
          fileList: []
        },
        {
          title: '宅基地平面位置座落图',
          FileName: [],
          groupGuid: '94eefbbf-9d60-4065-9797-559ad3f114cb',
          fileList: []
        },
        {
          title: '踏勘照片',
          FileName: [],
          groupGuid: '5dd77f0a-d318-4b2e-865f-082cda1f78c6',
          fileList: []
        },
        // {
        //   title: '村公示照片',
        //   FileName: [],
        //   groupGuid: '00e64693-e45f-463a-87a3-09b8cf4460b9',
        //   fileList: []
        // },
        {
          title: '农村宅基地使用承诺书',
          FileName: [],
          groupGuid: '0ee9b59f-4a90-4737-bc72-bded711ae918',
          fileList: []
        },
        {
          title: '村会议纪要、村公示照片',
          FileName: [],
          groupGuid: '40cac790-2b4e-45a0-8717-ac4ee4f8d4aa',
          fileList: []
        },
        {
          title: '土地证、不动产证、注销或调剂证明等证明材料',
          FileName: [],
          groupGuid: 'ebca2003-8980-4398-91fc-bcc9db340e0a',
          fileList: []
        },
        {
          title: '农户身份证明材料(户口本、身份证号、社员证明等)',
          FileName: [],
          groupGuid: '4d489c03-9c4b-45fe-acb3-3664a01fe40b',
          fileList: []
        },
        {
          title: '独生子女证明(独生子女家庭需提供)',
          FileName: [],
          groupGuid: 'a4027cf9-22bd-4e30-ae5e-624fb9e6266b',
          fileList: []
        },
        {
          title: '分家析产协议书(设计分户的需提供)',
          FileName: [],
          groupGuid: '52d25f8c-aed2-416e-ad26-a5b857699a58',
          fileList: []
        },
        {
          title: '四邻意见书(涉及相邻关系的需要提供，D级危房采取新建方式改造不需要提供)',
          FileName: [],
          groupGuid: '0a8a8ca1-ca83-4437-9dfe-ab365a2885fc',
          fileList: []
        },
        {
          title: '联建委托书',
          FileName: [],
          groupGuid: 'c9fd6bda-f89c-4463-bf36-1ca76422f811',
          fileList: []
        },

        {
          title: '其他材料',
          FileName: [],
          groupGuid: '44666177-b2af-4357-95ad-5d345e342316',
          fileList: []
        },
        {
          title: '农用地转用审批资料文件',
          FileName: [],
          groupGuid: 'f4449b9d-bb70-46fd-a73e-85ee3d335eda',
          fileList: []
        },
        {
          title: '规划核查凭证资料规划',
          FileName: [],
          groupGuid: '578e2e99-f04d-4e98-82e3-e56815c06d56',
          fileList: []
        },
        {
          title: '四邻意见书',
          FileName: [],
          groupGuid: '77db5e03-0020-4857-9b7b-939adbf6060f',
          fileList: []
        },
        {
          title: '在土地总体利用图上的位置图',
          FileName: [],
          groupGuid: 'b49f8f4d-5bc2-4f89-ad09-a4081aad9627',
          fileList: []
        }
      ],
      xianZhaijiDi: [
        {
          label: '宅基地处数',
          key: 'ZJDCS',
          ISinput: false,
          required: false,
          readonly: true,
          isTime: false,
          emitData: 'c17982d4-e6da-407c-981a-69557b2258bd',
          NYDARR: []
        },
        {
          label: '是否属于无房户',
          key: 'if_householder',
          ISinput: false,
          required: true,
          buttonTest: '关联',
          readonly: true,
          isTime: false,
          emitData: '86d6eb80-8bcb-49f6-b5c3-462ac1ae585d',
          NYDARR: []
        },
        {
          label: '是否危房改造拆除重建',
          key: 'if_Dilapidated',
          ISinput: false,
          buttonTest: '关联',
          required: true,
          buttonTest: '关联',
          readonly: true,
          isTime: false,
          emitData: '86d6eb80-8bcb-49f6-b5c3-462ac1ae585d',
          NYDARR: []
        },
        {
          label: '宅基地面积(㎡)',
          key: 'ohomestead', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '建筑面积(㎡)',
          key: 'oFloor_area', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '现宅基地处置情况',
          key: 'Disposetype',
          ISinput: false,
          required: true,
          readonly: true,
          isTime: false,
          emitData: '2c478392-9c1b-40da-b941-41e4b8c9d6d3',
          NYDARR: []
        },
        {
          label: '权属证书号',
          key: 'qxzsh', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '',
          key: 'Disposetype_qt', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '房屋处置情况',
          key: 'FWCZQK',
          ISinput: false,
          required: true,
          readonly: true,
          isTime: false,
          emitData: 'e69b7481-1f5e-4e81-a20c-87eb21c0dbf2',
          NYDARR: []
        }
      ],
      npzData: [
        {
          label: '性质',
          key: 'JFXZ',
          ISinput: false,
          required: true,
          readonly: true,
          isTime: false,
          emitData: 'db35edee-88e0-4fae-b14a-868ed4beb1d9',
          NYDARR: []
        },
        {
          label: '地址',
          key: 'address', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '宅基地面积(㎡)',
          key: 'zjdmj', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '房基占地面积(㎡)',
          key: 'fjzdmj', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '规划区',
          key: 'ghq',
          ISinput: false,
          required: false,
          readonly: true,
          isTime: false,
          emitData: '9b7e6eba-f7a0-4684-b820-8357dd92ae32',
          NYDARR: [],
          isOtherSealf: true
        },
        {
          label: '建筑结构',
          key: 'jzjg',
          ISinput: false,
          required: false,
          readonly: true,
          isTime: false,
          emitData: 'b65d1943-66f4-49b1-b759-cd9f079dc0d3',
          NYDARR: []
        },
        // {
        //   label: '建筑面积(㎡)',
        //   key: 'jzmj', //绑定的字段
        //   ISinput: true, //true:输入框
        //   required: true, //true: 必填项
        //   readonly: true, //true:可以填写 false：不可以填写
        //   isTime: false //true:可以时间选择器 false：下拉框
        // },
        // {
        //   label: '建筑层数(层)',
        //   key: 'jzcs', //绑定的字段
        //   ISinput: true, //true:输入框
        //   required: true, //true: 必填项
        //   readonly: true, //true:可以填写 false：不可以填写
        //   isTime: false //true:可以时间选择器 false：下拉框
        // },
        // {
        //   label: '建筑高度(m)',
        //   key: 'jzgd', //绑定的字段
        //   ISinput: true, //true:输入框
        //   required: true, //true: 必填项
        //   readonly: true, //true:可以填写 false：不可以填写
        //   isTime: false //true:可以时间选择器 false：下拉框
        // },
        {
          label: '是否有地下室',
          key: 'hasdxs',
          ISinput: false,
          required: false,
          readonly: true,
          isTime: false,
          emitData: '553271af-e163-4fb5-809e-0882ca9accbc',
          NYDARR: []
        }
      ],
      zfjzmjData: [
        {
          label: '总建设面积(㎡)',
          key: 'jzmj', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '地上(㎡)',
          key: 'dsmj', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '地下(㎡)',
          key: 'dxmj', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        }
      ],
      jzcsData: [
        {
          label: '总建设层数(层)',
          key: 'jzcs', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '地上(层)',
          key: 'dscs', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '地下(层)',
          key: 'dxcs', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        }
      ],
      jzgdData: [
        {
          label: '总建筑高度(m)',
          key: 'jzgd', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '地上(m)',
          key: 'dsgd', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '地下(m)',
          key: 'dxgd', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '檐口高度(m)',
          key: 'ykgd', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '屋顶高度(m)',
          key: 'wdgd', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '地坪标高(m)',
          key: 'dpbg', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        }
      ],
      contentData: [
        {
          label: '姓名',
          key: 'XM', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '身份证号',
          key: 'id_card', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '联系电话',
          key: 'phone', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '性别',
          key: 'sex',
          ISinput: false,
          required: true,
          readonly: true,
          isTime: false,
          emitData: 'a8e5782d-9a59-48e4-b35b-654b9bb667ca',
          NYDARR: []
        },
        {
          label: '年龄',
          key: 'age', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '户口所在地',
          key: 'domicile', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        },
        {
          label: '家庭住址',
          key: 'homeaddress', //绑定的字段
          ISinput: true, //true:输入框
          required: true, //true: 必填项
          readonly: true, //true:可以填写 false：不可以填写
          isTime: false //true:可以时间选择器 false：下拉框
        }
      ],
      rowData: {},
      ZJZGSHJBR: '',
      ZJZGSHFZR: '',
      ZJGHSHJBR: '',
      showPicker2: false,
      showPicker1: false,
      showPicker3: false,
      ZJNFSHJBR: '',
      ZJGHSHFZR: '',
      showPicker4: false,
      ZJNFSHFZR: '',
      showPicker5: false,
      relationType: '',
      JFData: [
        {
          XCSJ1: '',
          XCSJ2: '',
          XCSJ3: '',
          XCSJ4: '',
          CWSHR: '',
          ZGSHR: '',
          ZGSHYJ: '',
          ZJDCS: '',
          ZJZGSHJBR: '',
          ZJZGSHJBRJL: '',
          ZJZGSHJBRSJ: '',
          ZJZGSHJBRQM: '',
          ZJZGSHFZRJL: '',
          ZJZGSHFZRSJ: '',
          ZJZGSHFZRQM: '',
          ZJGHSHFZRSJ: '',
          ZJGHSHJBRSJ: '',
          ZJNFSHFZRSJ: '',
          ZJNFSHJBRSJ: '',
          ZJGHSHJBRQM: '',
          ZJGHSHFZRQM: '',
          ZJNFSHJBRQM: '',
          ZJNFSHFZRQM: '',
          ZJZGSHFZR: '',
          ZJZGSHFZRJL: '',
          ZJGHSHJBR: '',
          ZJGHSHJBRJL: '',
          ZJGHSHFZR: '',
          ZJGHSHFZRJL: '',
          ZJNFSHJBR: '',
          ZJNFSHJBRJL: '',
          ZJNFSHFZR: '',
          ZJNFSHFZRJL: ''
        }
      ],
      //批准
      SQHZDataPZ: [
        {
          SEX: '',
          AGE: '',
          XM: '',
          DOMICILE: '',
          ID_CARD: '',
          HOMEADDRESS: '',
          PHONE: '',
          IF_HOUSEHOLDER: '',
          IF_DILAPIDATED: '',
          OHOMESTEAD: '',
          OFLOOR_AREA: '',
          DISPOSETYPE: '',
          QXZSH: '',
          FWCZQK: '',
          DISPOSETYPE_QT: '',
          JFXZ: '',
          ADDRESS: '',
          FJZDMJ: '',
          ZJDMJ: '',
          JZJG: '',
          GHQ: '',
          JZMJ: '',
          JZGD: '',
          JZCS: '',
          HASDXS: '',
          NZ: '',
          DZ: '',
          BZ: '',
          XZ: '',
          DL_NYD: '',
          DL: '',
          DL_NYD_QT: '',
          RZJJ: '',
          IF_XLRTY: '',
          WQSC: '',
          NWSS: '',
          SSMC: '',
          SSBH: '',
          BEIZHU: '',
          ZJDZLPMWZT: '',
          ZTR: '',
          ZTSJ: '',
          ZJNFSHJBR: '',
          ZJNFSHJBRJL: '',
          ZJNFSHJBRSJ: '',
          ZJNFSHJBRQM: '',
          ZJNFSHFZR: '',
          ZJNFSHFZRJL: '',
          ZJNFSHFZRSJ: '',
          ZJNFSHFZRQM: '',
          ZJGHSHJBR: '',
          ZJGHSHJBRJL: '',
          ZJGHSHJBRQM: '',
          ZJGHSHJBRSJ: '',
          ZJGHSHFZR: '',
          ZJGHSHFZRJL: '',
          ZJGHSHFZRSJ: '',
          ZJGHSHFZRQM: '',
          ZJZGSHJBR: '',
          ZJZGSHJBRJL: '',
          ZJZGSHJBRSJ: '',
          ZJZGSHJBRQM: '',
          ZJZGSHFZR: '',
          ZJZGSHFZRJL: '',
          ZJZGSHFZRSJ: '',
          ZJZGSHFZRQM: '',
          JZMJ: '',
          DSMJ: '',
          DXMJ: '',
          JZCS: '',
          DSCS: '',
          DXCS: '',
          JZGD: '',
          DSGD: '',
          DXGD: '',
          YKGD: '',
          WDGD: '',
          DPBG: '',
          ZJDCS: '',
          WFH_NUMBER: '',
          WG_NUMBER: '',
          XZRMZFSHYJ: '',
          XZRMZFSHQM: '',
          XZRMZFSHSJ: ''
        }
      ],

      JZCSData: [],
      showTable: false,
      TJJFData: [
        {
          TJLX: '',
          TJMC: '',
          TJBH: ''
        }
      ],
      DUIBI: [],
      DUIBI1: ['第二处', '第三处', '第四处', '第五处']
    }
  },
  methods: {
    //选择危改信息
    handleSelectionChangewg(val) {
      this.selectwginfo = val
    },
    handleSelectClose1ss() {
      // this.ishwows = false
    },
    hadleSelect(data, title) {
      if (title == '用户处理设备查询') {
        this.ishwows = false
        this.JFData[0]['SSMC'] = data[0].liabilityUserName
        this.JFData[0]['SSBH'] = data[0].encoding
      }
    },
    handleSelectClose() {
      this.showsendPage = false
    },
    onConfirm(val) {
      this.ZJZGSHJBR = val.name
      this.JFData[0].ZJZGSHJBR = val.value
      this.showPicker = false
    },
    onConfirm5(val) {
      this.ZJNFSHFZR = val.name
      this.JFData[0].ZJNFSHFZR = val.value
      this.showPicker5 = false
    },
    onConfirm4(val) {
      this.ZJNFSHJBR = val.name
      this.JFData[0].ZJNFSHJBR = val.value
      this.showPicker4 = false
    },
    onConfirm3(val) {
      this.ZJGHSHFZR = val.name
      this.JFData[0].ZJGHSHFZR = val.value
      this.showPicker3 = false
    },
    onConfirm2(val) {
      this.ZJGHSHJBR = val.name
      this.JFData[0].ZJGHSHJBR = val.value
      this.showPicker2 = false
    },
    onConfirm1(val) {
      this.ZJZGSHFZR = val.name
      this.JFData[0].ZJZGSHFZR = val.value
      this.showPicker1 = false
    },
    //获取关联数据
    async getWGGLData() {
      const res = await getApplyPersonInfoByIdCard(this.SQHZDataPZ[0].id_card)
      if (res.data.data.length > 0) {
        this.WGData = res.data.data
        this.showTable = true
      } else {
        this.showTable = false
        this.$toast.fail('暂无数据')
        this.WGData = []
      }
    },
    getValues(name, value, label) {
      debugger
      console.log(name, value, label, this.JFData)
      if (label == '农污设施建设情况' && name == '完成建设') {
        this.nwssData[1].label = '设施名称'
        this.nwssData[2].label = '设施编号'
      } else if (label == '农污设施建设情况' && name != '完成建设') {
        this.nwssData[1].label = ''
        this.nwssData[2].label = ''
      }
      //根据选择的处数新增按钮 需要跟句this.JZCSData的大小来控制
      if (label == '宅基地处数' && name != '一处') {
        let num = 0
        let numX = 0
        this.DUIBI1.forEach((item, index) => {
          if (item == this.JZCSData[this.JZCSData.length - 1]?.ZJDCS) {
            //当前
            num = index
          }
          if (item.substring(1) == name) {
            numX = index
          }
        })

        this.DUIBI = []
        this.DUIBI1.forEach((item, index) => {
          if (index <= numX) {
            this.DUIBI.push(item)
          }
        })
      } else if (label == '宅基地处数' && name == '一处') {
        this.DUIBI = []
      }
      if (label == '地类' && name == '农转用') {
        this.dileiData[1].label = '农转用'
        //this.dileiData[1].label=='农转用'
      } else if (label == '地类' && name != '农转用') {
        this.dileiData[1].label = ''
      }

      if (label == '农转用' && name == '其他') {
        this.dileiData[2].label = '其他'
      } else if (label == '农转用' && name != '其他') {
        this.dileiData[2].label = ''
      }
      if (label == '现宅基地处置情况' && name == '其他') {
        this.xianZhaijiDi[7].label = '其他'
      } else if (label == '现宅基地处置情况' && name != '其他') {
        this.xianZhaijiDi[7].label = ''
      }
    },
    //获取用户处理设备数据
    async getxjnfGethy() {
      let data = {
        citycode: this.rowData.TOWN
      }
      const res = await getxjnfGethy(data)
      if (res.data.data) {
        this.eltableData = res.data.data
      }
      console.log(res, 'resresresres')
    },
    //获取选择的危改数据
    saveConfirmWGinfo() {
      debugger
      if (this.selectwginfo.length == 1) {
        this.showTable = false
        if (this.relationType == 'IF_HOUSEHOLDER') {
          this.SQHZDataPZ[0].WFH_NUMBER = this.selectwginfo[0].objectNo
        }
        if (this.relationType == 'IF_DILAPIDATED') {
          this.SQHZDataPZ[0].WG_NUMBER = this.selectwginfo[0].objectNo
        }
      } else {
        this.$toast.fail('请选择要关联的一条数据！')
      }
    },
    //获取关联数据
    // async getWGGLData() {
    //   const res = await getApplyPersonInfoByIdCard('430528199906118211')
    //   this.WGData = res.data.data
    //   console.log(this.WGData, '关联数据')
    // },
    //保存新增的宅基地处数
    async saveDataTable() {
      let isedit = true
      let data = this.show11Data
      console.log(data)
      if (!data[0].ROW_GUID) {
        let uuid1 = uuidv4()
        data[0].TO_ROW_GUID = this.ROW_GUIDS
        data[0].ROW_GUID = uuid1
        data[0].eca_RowState = 'added'
        delete data.PKID
        isedit = true
      } else {
        data[0].eca_RowState = 'modified'
        isedit = false
      }
      const date = await GSA_Add('21697fcc-1b1b-4c64-a478-e92cc77aa185', isedit, ...data)
    },
    //上传宅地基位置平面图
    afterRead(file) {
      debugger
      // let base64 = dataUrl.content.replace(/^data:image\/\w+;base64,/, '')
      // this.ZJDZLPMWZT = base64
      file.status = 'uploading'
      file.message = '上传中...'
      // 此时可以自行将文件上传至服务器
      this.getFileServerUpload(file.file, file)
    },
    getFileServerUpload: async function (file, data3) {
      debugger
      let formData = new FormData()
      formData.append('file', file)
      formData.append('accessCode', '7a3fc061c866434b8475d3775c9ddcea')
      formData.append('cityCode', window.localStorage.getItem('citycode'))
      formData.append('token', window.localStorage.getItem('token'))
      formData.append('paramStr', JSON.stringify({}))
      const res = await dataTransFile(formData)
      try {
        let data1 = JSON.parse(res.data.data).FileList
        this.SQHZDataPZ[0].ZJDZLPMWZT = data1[0].FILEGUID
        this.getFileUrl(data1[0].FILEGUID)
        data3.status = 'done'
      } catch (err) {
        data3.status = 'failed'
        data3.message = '上传失败'
        this.$toast.fail('上传失败')
      }
    },
    //获取附件文件流
    getFileUrl: async function (fileGuids) {
      let element = {}
      let formData = new FormData()
      formData.append('accessCode', '98bcf528966e48ce896a8b3fd02d45d5')
      formData.append('cityCode', window.localStorage.getItem('citycode'))
      formData.append('paramStr', JSON.stringify({ fileGuid: fileGuids }))
      let response = await dataTransFilePreview(formData)
      if (response) {
        var img = new Blob([new Int8Array(response.data, 0)], {
          type: response.headers['content-type']
        }) //type类型可自定义
        element['isImage'] = true
        element['url'] = window.URL.createObjectURL(img)
        //生成的url只能访问一次
        this.PictureUrlList.push(element)
        // if (element.FILETYPE == '.pdf') {
        //   item.FileName.push(element)
        // } else {
      }
    },
    //删除宅基地位置平面图
    delectFile() {
      this.PictureUrlList = []
      this.SQHZDataPZ[0].ZJDZLPMWZT = ''
    },
    //查看宅基地位置平面图
    lookFile(item) {
      if (item.isImage == false) {
        if (ZWJSBridge) {
          ZWJSBridge.openLink({
            url: item.url
          })
            .then((res) => { })
            .catch((err) => { })
        }
      }
    },
    getButtons(name, value, label) {
      debugger
      //查看图集
      if (name.key == 'TJBH') {
        //跳转
        this.$router.push({
          path: '/BuildingServerv2',
          query: {
            id: '不能编辑',
            data: this.TJJFData[0].TJBH
          }
        })
      }
      if (name == '否') {
        this.$toast.fail('不可关联')
      } else if (name == '是') {
        //掉接口查询
        this.getWGGLData()
        // if (this.WGData.length == 0) {
        //   this.$toast.fail('暂无数据')
        // } else {
        //   //打开弹窗
        //   this.showTable = true
        // }
      }
      //选择农污
      // else if()
      //console.log(name, value, label, this.JFData)
    },
    //宅基地处数
    async getData() {
      let me = this
      this.rowData = JSON.parse(this.$route.query.data)
      console.log(this.rowData)

      // let data = [{ field: 'TO_ROW_GUID', value: this.rowData?.ROW_GUID }]
      // const res = await GSA_Search('748c5c45-17c6-407d-8ea1-3b549bf47a9f', data)
      let data1 = [
        { field: 'TO_ROW_GUID', value: this.rowData?.ROW_GUID },
        { field: 'dqhj', value: '现场踏勘' }
      ]
      const res1 = await GSA_Search('21697fcc-1b1b-4c64-a478-e92cc77aa185', data1)
      me.JZCSData = res1.Data
      //this.JFData = res.Data
      if (me.JZCSData.length == 0) {
        // this.SQHZDataPZ[0].ZJDCS = this.SQHZDataPZ[this.SQHZDataPZ.length - 1].ZJDCS.substring(1)
        // this.DUIBI = []
        // this.DUIBI1.forEach((item, index) => {
        //   if (index <= this.SQHZDataPZ.length - 1) {
        //     this.DUIBI.push(item)
        //   }
        // })
        // me.SQHZDataPZ[0].ZJDCS=me.rowData.ZJDCS
        // console.log( me.SQHZDataPZ[0].ZJDCS);
        // me.$set(me.SQHZDataPZ[0],'ZJDCS',me.rowData.ZJDCS)
        // this.SQHZData[0]['ZJDCS'] = '一处'
      } else {
        console.log(this.JZCSData, 'this.JZCSData')
        this.SQHZDataPZ[0].ZJDCS = this.JZCSData[this.JZCSData.length - 1].ZJDCS.substring(1)
        this.DUIBI = []
        this.DUIBI1.forEach((item, index) => {
          if (index <= this.JZCSData.length - 1) {
            this.DUIBI.push(item)
          }
        })
      }
      //获取申请户主信息
    },
    //保存表单信息
    async saveData(type) {
      let me = this
      let status1 = '',
        status2 = ''
      const saveBaseInfo = () => {
        if (me.isaddOrEditData == 'add') {
          me.SQHZDataPZ[0].TO_ROW_GUID = me.rowData.ROW_GUID
          me.SQHZDataPZ[0].eca_RowState = 'added'
        } else {
          me.SQHZDataPZ[0].eca_RowState = 'modified'
        }
        //组织成需要表单的信息
        let data1 = {
          '1630078c-3fa8-45f9-b3f1-bfd4a3ab918e': [me.SQHZDataPZ[0]]
        }
        let par = {
          formData: JSON.stringify(data1)
        }
        let params1 = {
          accessCode: '688bd3883572440a859dfd8ba9194e7b11',
          cityCode: window.localStorage.getItem('citycode') ? window.localStorage.getItem('citycode') : '',
          params: par
        }
        return new Promise((resolve, reject) => {
          FileServerProxy(params1).then((item) => {
            resolve(item)
          })
        })
      }
      const saveotherInfo = () => {
        let data2 = {
          '713761e1-74eb-4aec-8812-6b2e87fe3678': [
            {
              PKID: me.rowData.PKID,
              ROW_GUID: me.rowData.ROW_GUID,
              ZJDCS: me.SQHZDataPZ[0].ZJDCS,
              WG_NUMBER: me.SQHZDataPZ[0].WG_NUMBER,
              WFH_NUMBER: me.SQHZDataPZ[0].WFH_NUMBER,
              eca_RowState: 'modified'
            }
          ]
        }
        let par2 = {
          formData: JSON.stringify(data2)
        }
        let params2 = {
          accessCode: '688bd3883572440a859dfd8ba9194e7b11',
          cityCode: window.localStorage.getItem('citycode') ? window.localStorage.getItem('citycode') : '',
          params: par2
        }
        return new Promise((resolve, reject) => {
          FileServerProxy(params2).then((item) => {
            resolve(item)
          })
        })
      }
      Promise.all([saveBaseInfo(), saveotherInfo()]).then((items) => {
        if (items[0].data.data && JSON.parse(items[0].data.data).Success) {
          //this.$toast.success("保存成功!")
          status1 = true
          me.isaddOrEditData == 'edit'
        }
        if (items[1].data.data && JSON.parse(items[1].data.data).Success) {
          status2 = true
          // this.$toast.fail("保存失败!")
          //me.isaddOrEditData == 'add'
        }

        if (status1 && status2) {
          if (type == 'submit') {
            //判断必填项
            let index = 0
            me.$children.forEach((item) => {
              if (!item.bitian) return
              index += item.bitian()
            })
            //如果没没用inputsele组件的需要单独判断
            if (index > 0) {
              me.$toast.fail('请填写必填项')
            } else {
              me.showsendPage = true
            }
          } else {
            me.$toast.success('保存成功!')
          }
        } else {
          me.$toast.fail('保存失败!')
        }
      })
      //const date = await GSA_Add('713761e1-74eb-4aec-8812-6b2e87fe3678', false, {PKID:this.rowData.PKID,"ROW_GUID":this.rowData.ROW_GUID,"ZJDCS":this.SQHZDataPZ[0].ZJDCS})

      //  function saveBaseInfo(){}
      //  function updateZjdcs(){

      //  }
    },
    //提交
    handleSelect() {
      debugger
    },
    /**
     * 获取家庭成员信息
     */
    async getFlaymdata() {
      // const data = await  35bdee32-62cc-4249-8990-3d4fdbbd904f
      let data = [
        { field: 'TO_ROW_GUID', value: this.rowData.ROW_GUID },
        { field: 'OPTYPE', value: 2 }
      ]
      const res = await GSA_Search('35bdee32-62cc-4249-8990-3d4fdbbd904f', data)
      if (res.Data && res.Data.length > 0) {
        this.content = res.Data
      } else {
        this.content = []
      }
    },
    //获取申请户主信息
    async getFMainInfo() {
      let me = this

      /****先查询绑定的试图有没有数据  有数据直接回显  没有数据查询自动赋值试图进行赋值 */
      let data = [{ field: 'to_row_guid', value: me.rowData.ROW_GUID }]
      let newdata = []
      const res = await GSA_Search('1630078c-3fa8-45f9-b3f1-bfd4a3ab918e', data)
      if (res.Data && res.Data.length > 0) {
        if (res.Data[0].ZJDZLPMWZT) {
          me.getFileUrl(res.Data[0].ZJDZLPMWZT)
        }
        me.SQHZDataPZ = res.Data
        me.isaddOrEditData = 'edit'
        //意见
        let date = timeFormat(null, 'yyyy-mm-dd hh:MM:ss')
        //资格
        if (me.IsEmpty(me.SQHZDataPZ[0].ZJZGSHJBRJL)) {
          me.SQHZDataPZ[0].ZJZGSHJBRJL = '该户符合“一户一宅”标准，符合宅基地申请资格条件，可申请的宅基地面积为' + me.SQHZDataPZ[0].ZJDMJ + '㎡，拟同意上报审批'
          me.SQHZDataPZ[0].ZJZGSHJBRQM = JSON.parse(window.localStorage.getItem('userName')).userName
          me.SQHZDataPZ[0].ZJZGSHJBRSJ = date
        }
        if (me.IsEmpty(me.SQHZDataPZ[0].ZJZGSHFZRJL)) {
          me.SQHZDataPZ[0].ZJZGSHFZRJL = '该户符合“一户一宅”标准，符合宅基地申请资格条件，可申请的宅基地面积为' + me.SQHZDataPZ[0].ZJDMJ + '㎡，拟同意上报审批'
          me.SQHZDataPZ[0].ZJZGSHFZRQM = JSON.parse(window.localStorage.getItem('userName')).userName
          me.SQHZDataPZ[0].ZJZGSHFZRSJ = date
        }
        //规划
        if (me.IsEmpty(me.SQHZDataPZ[0].ZJGHSHJBRJL)) {
          me.SQHZDataPZ[0].ZJGHSHJBRJL = '该户拟用地符合国土空间规划（含土地利用规划和城乡规划），拟同意上报审批'
          me.SQHZDataPZ[0].ZJGHSHJBRQM = JSON.parse(window.localStorage.getItem('userName')).userName
          me.SQHZDataPZ[0].ZJGHSHJBRSJ = date
        }
        if (me.IsEmpty(me.SQHZDataPZ[0].ZJGHSHFZRJL)) {
          me.SQHZDataPZ[0].ZJGHSHFZRJL = '该户拟用地符合国土空间规划（含土地利用规划和城乡规划），拟同意上报审批'
          me.SQHZDataPZ[0].ZJGHSHFZRQM = JSON.parse(window.localStorage.getItem('userName')).userName
          me.SQHZDataPZ[0].ZJGHSHFZRSJ = date
        }
        //农房
        if (me.IsEmpty(me.SQHZDataPZ[0].ZJNFSHJBRJL)) {
          me.SQHZDataPZ[0].ZJNFSHJBRJL = '该户已提交农村住房设计方案并图纸，符合相关要求，拟同意上报审批。'
          me.SQHZDataPZ[0].ZJNFSHJBRQM = JSON.parse(window.localStorage.getItem('userName')).userName
          me.SQHZDataPZ[0].ZJNFSHJBRSJ = date
        }
        if (me.IsEmpty(me.SQHZDataPZ[0].ZJNFSHFZRJL)) {
          me.SQHZDataPZ[0].ZJNFSHFZRJL = '该户已提交农村住房设计方案并图纸，符合相关要求，拟同意上报审批。'
          me.SQHZDataPZ[0].ZJNFSHFZRQM = JSON.parse(window.localStorage.getItem('userName')).userName
          me.SQHZDataPZ[0].ZJNFSHFZRSJ = date
        }
      } else {
        me.isaddOrEditData = 'add'
        //没有数据 则从其他视图获取需要的数据
        //获取申请户主信息和现宅基地及农房情况
        let datas = [{ field: 'row_guid', value: me.rowData.ROW_GUID }]
        const resNoData = await GSA_Search('45bf15e7-27f2-45b6-956d-32307f734dbc', datas)
        if (resNoData.Data && resNoData.Data.length > 0) {
          //申请户主信息
          me.SQHZDataPZ[0].XM = resNoData.Data[0].XM
          me.SQHZDataPZ[0].SEX = resNoData.Data[0].SEX
          me.SQHZDataPZ[0].AGE = resNoData.Data[0].AGE
          me.SQHZDataPZ[0].ID_CARD = resNoData.Data[0].ID_CARD
          me.SQHZDataPZ[0].DOMICILE = resNoData.Data[0].DOMICILE
          me.SQHZDataPZ[0].PHONE = resNoData.Data[0].PHONE
          me.SQHZDataPZ[0].HOMEADDRESS = resNoData.Data[0].HOMEADDRESS
          //现宅基地及农房情况
          me.SQHZDataPZ[0].IF_HOUSEHOLDER = resNoData.Data[0].IF_HOUSEHOLDER
          me.SQHZDataPZ[0].IF_DILAPIDATED = resNoData.Data[0].IF_DILAPIDATED
          me.SQHZDataPZ[0].OHOMESTEAD = resNoData.Data[0].OHOMESTEAD
          me.SQHZDataPZ[0].OFLOOR_AREA = resNoData.Data[0].OFLOOR_AREA
          me.SQHZDataPZ[0].DISPOSETYPE = resNoData.Data[0].DISPOSETYPE
          me.SQHZDataPZ[0].DISPOSETYPE_QT = resNoData.Data[0].DISPOSETYPE_QT
          me.SQHZDataPZ[0].QXZSH = resNoData.Data[0].QXZSH
          me.SQHZDataPZ[0].FWCZQK = resNoData.Data[0].FWCZQK
          // newdata=resNoData.Data
        }
        //获取拟批准房屋信息
        let datasPZ = [{ field: 'to_row_guid', value: me.rowData.ROW_GUID }]
        const resNoDataPZ = await GSA_Search('4e05b110-2b51-4fde-9984-355f7f0af436', datasPZ)
        if (resNoDataPZ.Data && resNoDataPZ.Data.length > 0) {
          if (resNoData.Data[0].SQZJDMJ) {
            me.SQHZDataPZ[0].ZJDMJ = resNoData.Data[0].SQZJDMJ
          }
          me.SQHZDataPZ[0].JZCS = resNoDataPZ.Data[0].CS
          me.SQHZDataPZ[0].JFXZ = resNoDataPZ.Data[0].JFXZ
          me.SQHZDataPZ[0].ADDRESS = resNoDataPZ.Data[0].ADDRESS
          me.SQHZDataPZ[0].ZJDMJ = resNoDataPZ.Data[0].ZJDMJ
          me.SQHZDataPZ[0].FJZDMJ = resNoDataPZ.Data[0].FJZDMJ
          me.SQHZDataPZ[0].GHQ = resNoDataPZ.Data[0].GHQ
          me.SQHZDataPZ[0].JZJG = resNoDataPZ.Data[0].JZJG
          me.SQHZDataPZ[0].HASDXS - resNoDataPZ.Data[0].HASDXS
          me.SQHZDataPZ[0].JZMJ = resNoDataPZ.Data[0].JZMJ
          me.SQHZDataPZ[0].DSMJ = resNoDataPZ.Data[0].DSMJ
          me.SQHZDataPZ[0].DXMJ = resNoDataPZ.Data[0].DXMJ
          me.SQHZDataPZ[0].DSCS = resNoDataPZ.Data[0].DSCS
          me.SQHZDataPZ[0].DXCS = resNoDataPZ.Data[0].DXCS
          me.SQHZDataPZ[0].JZGD = resNoDataPZ.Data[0].JZGD
          me.SQHZDataPZ[0].DSGD = resNoDataPZ.Data[0].DSGD
          me.SQHZDataPZ[0].DXGD = resNoDataPZ.Data[0].DXGD
          me.SQHZDataPZ[0].YKGD = resNoDataPZ.Data[0].YKGD
          me.SQHZDataPZ[0].WDGD = resNoDataPZ.Data[0].WDGD
          me.SQHZDataPZ[0].DPBG = resNoDataPZ.Data[0].DPBG
          me.SQHZDataPZ[0].DZ = resNoDataPZ.Data[0].DZ
          me.SQHZDataPZ[0].NZ = resNoDataPZ.Data[0].NZ
          me.SQHZDataPZ[0].XZ = resNoDataPZ.Data[0].XZ
          me.SQHZDataPZ[0].BZ = resNoDataPZ.Data[0].BZ
          me.SQHZDataPZ[0].DL = resNoDataPZ.Data[0].DL
          me.SQHZDataPZ[0].DL_NYD = resNoDataPZ.Data[0].DL_NYD
          me.SQHZDataPZ[0].DL_NYD_QT = resNoDataPZ.Data[0].DL_NYD_QT
          me.SQHZDataPZ[0].RZJJ = resNoDataPZ.Data[0].RZJJ
          me.SQHZDataPZ[0].WQSC = resNoDataPZ.Data[0].WQSC
          me.SQHZDataPZ[0].IF_XLRTY = resNoDataPZ.Data[0].IF_XLRTY
          me.SQHZDataPZ[0].NWSS = resNoDataPZ.Data[0].NWSS
          me.SQHZDataPZ[0].SSMC = resNoDataPZ.Data[0].SSMC
          me.SQHZDataPZ[0].SSBH = resNoDataPZ.Data[0].SSBH
          me.SQHZDataPZ[0].BEIZHU = resNoDataPZ.Data[0].BEIZHU
        }
      }
      if (me.IsEmpty(me.SQHZDataPZ[0].ZJDCS)) {
        me.SQHZDataPZ[0].ZJDCS = me.rowData.ZJDCS
      }

      //获取宅基地处数
      me.getData()
    },
    //获取图集信息
    async getTJInfo() {
      let datasTJ = [{ field: 'to_row_guid', value: this.rowData.ROW_GUID }]
      const resNoDataTJ = await GSA_Search('ba906ba1-8d90-42da-971c-3ad7995f92c0', datasTJ)
      if (resNoDataTJ.Data && resNoDataTJ.Data.length > 0) {
        this.TJJFData = resNoDataTJ.Data
      } else {
        // this.TJJFData = []
      }
    },
    delectFile() { },
    getButton(name, val, key) {
      debugger
      if (name == '否') {
        this.$toast.fail('不可关联')
      } else if (name == '是') {
        this.getWGGLData()
        this.relationType = key
        // if (this.WGData.length == 0) {
        //   this.$toast.fail('暂无数据')
        // } else {
        //   //打开弹窗
        //   this.showTable = true
        // }
      }
      //污水处理设施名称
      if (name.key == 'SSMC') {
        //打开弹窗
        this.ishwows = true
      }
      //农污
      //else if()
    },
    clickButton(data) {
      this.show11 = true
      this.show11Data = []
      this.JZCSData.forEach((item) => {
        if (data == item.ZJDCS) {
          this.show11Data.push(item)
        }
      })
      // this.show11Data[0] = data
      console.log(this.show11Data, 'efnieuf')
      this.show11Title = data
      if (this.show11Data.length == 0) {
        this.show11Data.push({
          ROW_GUID: '',
          TO_ROW_GUID: '',
          PKID: '',
          SFSYWFH: '',
          SFWFGZCCCJ: '',
          YZJDMJ: '',
          YZJMJ: '',
          XZJDCZQK: '',
          FWCZQK: '',
          QSZSH: '',
          WFHGLM: null,
          WGGLM: null,
          XZJDCZQKQT: null,
          DQHJ: '镇街联审',
          ZJDCS: data
        })
      }
    },
    //获取家庭成员信息
    async getFamilyInfo() {
      let datasJTCY = [
        { field: 'to_row_guid', value: this.rowData.ROW_GUID },
        { field: 'optype', value: 3 }
      ]
      const resNoDataTJ = await GSA_Search('471f9e70-b4ba-4bc3-9158-43a36800bf19', datasJTCY)
      if (resNoDataTJ.Data && resNoDataTJ.Data.length > 0) {
        this.content = resNoDataTJ.Data
      } else {
        let datasJTCYFZ = [
          { field: 'TO_ROW_GUID', value: this.rowData.ROW_GUID },
          { field: 'OPTYPE', value: 2 }
        ]
        const resNoDataFZ = await GSA_Search('35bdee32-62cc-4249-8990-3d4fdbbd904f', datasJTCYFZ)
        if (resNoDataFZ.Data && resNoDataFZ.Data.length > 0) {
          this.content = resNoDataFZ.Data
        }
      }
    },
    //判断如果是三方经办人、终审环节  控件不可编辑
    Isdisabled() {
      debugger
      //竣工验收镇街资格审核负责人
      if (this.rowData.NODE_GUID == '{EB7D42FE-320C-4A0A-9C98-3E9373898826}' || this.rowData.NODE_GUID == '{003E7696-65E6-432B-97A7-C95711D1D0E0}' || this.rowData.NODE_GUID == '{0C243209-79FA-48BB-B027-4933B5FC31A2}'
      
      ||this.rowData.NODE_GUID == '{9766D96E-8B85-481F-B514-C0B21CF4DC3A}' ) {
        let index = 0
            this.$children.forEach((item) => {
              // if (item.disable){
                item.disable=true;
             // }
            })
          this.Isshowbutton1=false
      }
     
    },
    //初始化
    Init() {
      // //获取申请户主信息
      this.getFMainInfo()
      // //获取家庭成员信息
      //this.getFamilyInfo()
      this.getFlaymdata()
      // //获取图集信息
      this.getTJInfo()
      // //获取危改信息
      this.getData();
      //获取浓雾设备
      this.getxjnfGethy()
      //判断如果是三方经办人、终审环节  空间不可编辑
      this.Isdisabled();

    }
  },
  computed: {},
  mounted() {
    this.Init()
  },
  created() {
    if (this.$route.query.data && JSON.parse(this.$route.query.data)) {
      this.rowData = JSON.parse(this.$route.query.data)
      //判断三方经办人和负责人是否是同一个人，同一个人发给批前公示，否则发送给对应的负责人
      //{5821E9EB-44B5-49AC-A659-6DF98B410B38} 镇街农房审核经办人
      //{0439EC7A-785D-4B5B-ADD4-11E2D320376E} 镇街规划审核经办人
      //{417EFF61-5FA8-44D6-A624-5B3D0F39B56C} 镇街资格审核经办人
      if (
        this.rowData.NODE_GUID == '{5821E9EB-44B5-49AC-A659-6DF98B410B38}' ||
        this.rowData.NODE_GUID == '{0439EC7A-785D-4B5B-ADD4-11E2D320376E}' ||
        this.rowData.NODE_GUID == '{417EFF61-5FA8-44D6-A624-5B3D0F39B56C}'
      ) {
        let newSingleData = JSON.parse(window.localStorage.getItem('singleData'))
        if (newSingleData && newSingleData.bizUserInfo) {
          if (
            !this.IsEmpty(newSingleData.bizUserInfo.userInfo.roles[38]) &&
            !this.IsEmpty(newSingleData.bizUserInfo.userInfo.roles[39]) &&
            !this.IsEmpty(newSingleData.bizUserInfo.userInfo.roles[40]) &&
            !this.IsEmpty(newSingleData.bizUserInfo.userInfo.roles[52]) &&
            !this.IsEmpty(newSingleData.bizUserInfo.userInfo.roles[53]) &&
            !this.IsEmpty(newSingleData.bizUserInfo.userInfo.roles[54])
          ) {
            //当前登陆人同时为 38: '镇街资格经办人', 39: '镇街规划经办人', 40: '镇街农房经办人',52: '镇街农房负责人', 53: '镇街规划负责人', 54: '镇街资格负责人'
            //发送给批前公示
            this.Issyhi = true
          } else {
            //负责人
            this.Issyhi = false
          }
        } else {
          //负责人
          this.Issyhi = false
        }
      }
    }
  },
  components: {
    bigData,
    inputContatiner,
    inputSelect,
    upLoad,
    sendTree,
    tableBox
  }
}
</script>

<style lang="scss" scoped>
.ThreeJingBanRen {
  height: 100vh;

  .CUNYUSHEN {
    height: 93vh;
    padding: 4px;
    overflow: auto;
  }

  .footer {
    height: 6vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .subTitle {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #9b9b9b;
    padding-left: 10px;

    .line {
      width: 6px;
      height: 26px;
      background: #3f8ffc;
      display: inline-block;
      margin-right: 10px;
    }
  }
}</style>

<style>.van-cell {
  color: black;
  font-weight: bold !important;
}

.van-collapse-item__content {
  color: black;
  padding: 0 6px !important;
}</style>
